package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.OperatorTrademark;
import guoanmaker.operator.business.model.OperatorUserSignIn;

public interface OperatorTrademarkRepository extends JpaRepository<OperatorTrademark, String>, JpaSpecificationExecutor<OperatorTrademark>{
	 @Query("select r from OperatorTrademark r where r.type=:type and r.citycode=:citycode")	
		public List<OperatorTrademark>  selectByOperatorTrademark(@Param("type") int type,@Param("citycode") String citycode);
}
